package com.leyou.user.feign;


import com.leyou.api.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("leyou-third-party")
public interface SendCode {

    @RequestMapping("/sms/sendcode")
    R sendSms(@RequestParam("phone") String phone, @RequestParam("code") String code);
}
